package repo

import "time"

type userDB struct {
	ID             int64     `db:"id"`
	Name           string    `db:"name"`
	NickName       string    `db:"nick_name"`
	Password       string    `db:"password"`
	Email          string    `db:"email"`
	CountryCode    int64     `db:"country_code"` // CountryCode 标识电话号码所在国家
	Phone          int64     `db:"phone"`        // Phone 电话号码
	Age            int32     `db:"age"`
	Sex            string    `db:"sex"`
	Avatar         int64     `db:"avatar"`
	Tags           []string  `db:"tags"`
	Status         string    `db:"status"`
	LastIP         string    `db:"last_ip"`
	VipStatus      string    `db:"vip_status"`
	VipExpiredTime time.Time `db:"vip_expired_time"`
	CreateTime     time.Time `db:"create_time"`
	UpdateTime     time.Time `db:"update_time"`
	DeleteTime     time.Time `db:"delete_time"`
}
